package com.kunag.builderFactory.demo2;

import com.kunag.builderFactory.demo2.Product;

/**
 * @Title:
 * @Description:
 * 建造者抽象类
 *
 * @Author: zx
 * @Date: create in 9:17 2020/8/4
 * @Version: 1.0
 */
public abstract class Builder {

    //汉堡
    abstract Builder buildA(String msg);
    //可乐
    abstract Builder buildB(String msg);
    //薯条
    abstract Builder buildC(String msg);
    //甜品
    abstract Builder buildD(String msg);

    //完工 ：得到产品
    abstract Product getProduct();
}
